package com.xbjtech.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xbjtech.mapper.MobileYzmMapper;
import com.xbjtech.model.MobileYzm;
import com.xbjtech.service.MobileYzmService;

@Service
public class MobileYzmServiceImpl implements MobileYzmService {

	@Autowired
	MobileYzmMapper mobileYzmMapper;
	
	@Override
	public void save(MobileYzm my) {
		mobileYzmMapper.insert(my);
	}

	@Override
	public MobileYzm selectMobileYzmByMobile(String mobile) {
		return mobileYzmMapper.selectMobileYzmByMobile(mobile);
	}

}
